Motion.GetGroupState 方法

依据目前启用的分组方法取得单一轴组的状态。

命名空间IntervalZero.KINGSTAR.Local.Api

组合: IntervalZero.KINGSTAR.Local.Api (于 IntervalZero.KINGSTAR.Local.dll) 版本:4.4.0.0

语法

C#VB
public KsReturn<GroupState> GetGroupState(
       int Index
)
Public Function GetGroupState(
       Index As Integer
) As KsReturn(Of GroupState)

参数

Index [in]

型别:int

轴组的索引。索引以 0 为起始。最多可有 32 个轴组。

回传值

型别:KsReturn<GroupState>

回传一个 KsError 代码及一个 GroupState 值。

范例

C#
N/A

参见

Motion 类别

IntervalZero.KINGSTAR.Local.Api 命名空间